﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<div class="modal-dialog ms-modal-dialog" style="margin-top: 180px;">
  <div class="modal-content">

    <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal">
        <span aria-hidden="true">&times;</span><span class="sr-only">Close</span>
      </button>
      <h4 class="modal-title">Session&nbsp;-&nbsp;Open Email Notice</h4>
    </div>

    <form class="form-horizontal ms-form" role="form" method="POST" action="${ctx.host}/sessions/${session.id}/open-notice">
      <input type="hidden" name="_method" value="PATCH">

      <div class="modal-body">

        <p class="form-control-static">Do you confirm open email notice?</p>

      </div>

      <div class="modal-footer">
        <button type="submit" class="btn btn-success btn-shadow btn-shadow-success x-btn">Submit</button>
        <button type="button" class="btn btn-default btn-shadow btn-shadow-default x-btn" data-dismiss="modal">Cancel</button>
      </div>
    </form>
  </div>

<script type="text/javascript">
  $(function() {
      $(".ms-form").shiftform()
  })
</script>

</div>
